<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        include 'person.php';
        include 'admin.php';
        include 'data_access.php';
        include 'building.php';
        $building=new building();
        $data=new database_access();
       $data->connect();
       $admin=new admin();
      
        for($i=1;$i<=10;$i++){
            
            $building->set_id($i);

$pattern= $_POST["Building".$i];

$building->set_pattern($pattern);

$admin->determine_patern($building);
        }
      
?>
       
    </body>
</html>
